import React, { memo } from "react";

const son = memo(() => {
  const handlePiu = function () {
    console.log("子组件");
  };

  return (
    <div>
      <ul>
        <li onClick={handlePiu}>ref 子组件</li>
      </ul>
    </div>
  );
});

export default son;
